how to find lcm